.audioUploadWrapper {
  width: 100%;
  // display: flex;
  // flex-direction: row;
  gap: 8px;
}

.uploadSection {
  width: 100%;
  height: 62px;
  border: 1px dashed var(--border-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: var(--pointer);
  transition: all 0.3s;
  background-color: rgba(100, 100, 100, 0.1);
  position: relative;
  overflow: hidden;

  &:hover {
    // border-color: #1890ff;
    // background-color: #e6f7ff;
  }

  &.hasError {
    border-color: #ff4d4f;
  }

  :global(.semi-upload-add) {
    width: 100%;
    height: 100%;
    cursor: var(--pointer);

    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.uploadPlaceholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.uploadIcon {
  // font-size: 18px;
  margin-right: 8px;
  transform: translateY(2px);
}

.uploadText {
  font-size: 14px;
  // margin: 4px 0;
  // line-height: 62px;

  span {
    color: #ffffff;
    cursor: var(--pointer);
  }
}

.uploadingText {
  font-size: 12px;
  color: #1890ff;
  margin-top: 4px;
}

.errorText {
  font-size: 12px;
  color: #ff4d4f;
  margin-top: 4px;
}


/* 进度条样式 */
.uploadProgressContainer {
  width: 100%;
  height: 82px;
  padding: 0 24px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;

  display: flex;
  justify-content: flex-start;
  align-items: center;

  .uploadProgress {
    width: 100%;
    height: 100%;
    padding-right: 22px;
  }

  .deleteIcon {
    // font-size: 12px;
    // color: rgba(255, 255, 255, 0.8);
    cursor: var(--pointer);
    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;

    &:hover {
      background-color: #999;
    }
  }
}

.uploadingText {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 22px;
  margin: 12px 0;
}

.progressBar {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0px;
  position: relative;
}

.progressFill {
  height: 100%;
  background-color: rgba(59, 179, 70, 1);
  transition: width 0.3s ease;
  border-radius: 4px;
}

.progressText {
  font-size: 12px;
  color: #999;
  text-align: right;
}

.errorText {
  font-size: 12px;
  color: #ff4d4f;
  margin-top: 4px;
  padding: 8px 12px;
  background-color: rgba(255, 77, 79, 0.05);
  border-radius: 4px;
  border: 1px solid rgba(255, 77, 79, 0.1);
}
